package com.example.dianchiwater;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.webkit.WebView;

public class Tianqi_Web extends AppCompatActivity {
    WebView WebTq;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_tianqi__web);
        WebTq = findViewById(R.id.WebTq);

        WebTq.loadUrl("https://www.qweather.com/");
        WebTq.getSettings().setSupportZoom(true);
        WebTq.getSettings().setBuiltInZoomControls(true);
        WebTq.getSettings().setJavaScriptEnabled(true);
        WebTq.getSettings().setLoadWithOverviewMode(true);
        WebTq.getSettings().setUseWideViewPort(true);
    }
}